package day1.homework.two;

/**
 * @创建人 MBY381
 * @创建时间 2022/6/28 00:19
 * @描述 暂无
 */
public class TestTwo {
    public static void main(String[] args) {
        ArrayListCopy<Integer> arrayListCopy= new ArrayListCopy<>();
        arrayListCopy.add(1);
        arrayListCopy.add(3);
        arrayListCopy.add(2);

        System.out.println("toString"+arrayListCopy);
        System.out.println("iterator"+arrayListCopy.iterator());

        System.out.println(arrayListCopy.get(1));

        arrayListCopy.remove(new Integer(1));
        System.out.println("toString"+arrayListCopy);

        System.out.println("iterator"+arrayListCopy.iterator());




    }
}
